var mongoose = require('mongoose');
var mongoosePaginate = require('mongoose-paginate');

var schema = new mongoose.Schema({
    bdid : mongoose.Schema.ObjectId,
    bdtype  : String,
    pluser: String,
    pllvl: String,
    plcontent:String,
    pldate:Date,
 });
schema.plugin(mongoosePaginate);

module.exports = mongoose.model('Comment',  schema);  // Model.paginate()